AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
 
include( 'shared.lua' )

function GM:PlayerInitialSpawn( ply )
 
    ply:SetTeam( 1 )
 
end
 
function GM:PlayerLoadout( ply )
 
    if ply:Team() == 1 then
 
        ply:Give( "weapon_crowbar" )
		ply:Give( "weapon_physcannon" )
		ply:Give( "weapon_physgun" )
		ply:Give( "gmod_tool" )
		ply:Give( "gmod_camera" )
		ply:SetModel( "models/player/Group03/Male_01.mdl" )
ply:Spawn()
 
    elseif ply:Team() == 2 then
 
        ply:Give( "weapon_crowbar" )
		ply:Give( "weapon_physcannon" )
		ply:Give( "weapon_physgun" )
		ply:Give( "weapon_crossbow" )
		ply:Give( "weapon_frag" )
		ply:Give( "weapon_rpg" )
		ply:Give( "gmod_tool" )
		ply:Give( "gmod_camera" )
		ply:SetModel( "models/player/kleiner.mdl" )
ply:Spawn()
 
    end
 
end
